<?php


namespace app\admin\validate;


use think\Validate;

class ArchivesDeceasedValidate extends Validate
{
    protected $rule = [
        'deceased_name'=>'require',
        'date_death'=>'require',
        'cremation_certificate'=>'require',
    ];
    protected $message = [
        'deceased_name.require'=>'请填写逝者姓名',
        'date_birth.require'=>'请选择逝者出生日期',
        'date_death.require'=>'请选择逝者逝世日期',
        'cremation_certificate.require'=>'请上传火化证明',
    ];
    protected $scene = [
        'add_jc'  => ['deceased_name,date_birth,date_death,cremation_certificate'],
    ];

}